package com.yzc.android.ui.viewholder;

import android.view.View;
import android.widget.ImageView;

import butterknife.Bind;
import butterknife.ButterKnife;
import com.yzc.android.R;

/**
 * Created by yzc on 16/4/21.
 */
public class HeaderViewHolder extends KDBaseViewHolder {
    @Bind(R.id.recycler_view_header_imgview)
    public ImageView headerImageView;

    public HeaderViewHolder(final View itemView) {
        super(itemView);
        ButterKnife.bind(this, itemView);
    }

    @Override
    public void showData(final int position, final Object itemData) {
        headerImageView.setImageResource(R.mipmap.header);
    }
}
